package com.gitee.huanminabc.utils_tools.spring_base.utils;

/**
 * @description:
 * @author: huanmin
 * @create: 2025-04-27 19:09
 **/
@FunctionalInterface
public interface TransactionCallback {
    void  run()throws Throwable;

    //catch 执行
    default void  error(Throwable e){
        TransactionUtil.errorLog(e);
    }
    //finally 执行
    default void after(){

    }
}
